//
//  LoadingProgress.h
//  MyPorject
//
//  Created by Yuki on 2021/1/26.
//

#import <Foundation/Foundation.h>
#import <MBProgressHUD.h>//弹框
NS_ASSUME_NONNULL_BEGIN

@interface ELLoading : NSObject <NSCopying>
///初始化
+ (instancetype)shareInstance;


/// 显示MBProgressHUD的动画 加载在window上的
- (void)showProgressLoading;

/// 显示一个弹框
/// @param title 标题
- (void)showAlertStr:(NSString *)title;

/// 显示MBProgressHUD的动画带标题 加载在window上的
/// @param title 标题
- (void)showProgressLoadingWithStr:(NSString *)title;



/// 显示MBProgressHUD添加到对应的View上
/// @param fatherView 父界面
- (void)showProgressLoadingWithSupview:(UIView *)fatherView;


/// 结束MBProgressHUD的动画
- (void)dismissProgressLoading;
@end

NS_ASSUME_NONNULL_END
